package com.oa.role.Dao;

import java.util.List;
import java.util.Map;

import com.oa.entity.TblRight;
import com.oa.entity.TblRole;

public interface RoleDao {
	
	public TblRole load(Integer Id);
	
	public TblRight load(String rights_code);
	
	public boolean add(TblRole role);
	
	public boolean delete(TblRole role);
	
	public boolean update(TblRole role);
	
	@SuppressWarnings("rawtypes")
	public List searchData(String hql,Map params);
}
